﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Edit.Master" AutoEventWireup="true"
    CodeBehind="TempUserView.aspx.cs" Inherits="Web.Views.TempUserManage.TempUserView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="../../Javascript/UserControls.js"></script>
<script type="text/javascript">
    $(function () {
        if (getQueryStringValue("statusid") == "1") {
            $("#ctl00_button_btnAgree").attr("disabled", true);
            $("#ctl00_button_btnDisAgree").attr("disabled", true);
        }
        else {
            $("#ctl00_button_btnAgree").attr("disabled", false);
            $("#ctl00_button_btnDisAgree").attr("disabled", false);
        }

    });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="button" runat="server">
    <button type="button" class="sexybutton" runat="server" id="btnAgree" onserverclick="btnAgree_Click">
        <span><span><span class="edit">允许登录</span></span></span></button>
    <button type="submit" class="sexybutton" id="btnDisAgree" runat="server" onserverclick="btnDisAgree_Click">
        <span><span><span class="transfer">不允许登录</span></span></span></button>
    <button type="submit" class="sexybutton" id="btnReSetPassword" runat="server" onserverclick="btnReSetPassword_Click">
        <span><span><span class="transfer">重置密码</span></span></span></button>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="edit" runat="server">
    <fieldset>
        <legend>临时用户信息</legend>
        <div>
            <table cellpadding="0" cellspacing="0" width="100%" class="editTable">
                <tr>
                    <th style="width: 25%">
                        登录名称
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtLoginName" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                    <th style="width: 25%">
                        用户姓名
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtUserName" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th style="width: 25%">
                        所在机构
                    </th>
                    <td colspan="3" style="width: 70%">
                        <asp:TextBox runat="server" ID="txtOrgName" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th style="width: 25%">
                        身份证号
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtIDCard" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                    <th style="width: 25%">
                        电话号码
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtTelphone" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th style="width: 25%">
                        手机号码
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtMobile" Width="140px" Enabled="false"></asp:TextBox>
                    </td>
                    <th style="width: 25%">
                        过期时间
                    </th>
                    <td style="width: 150px">
                        <asp:TextBox runat="server" ID="txtExpirationTime" Width="160px" class="easyui-datebox"
                            editable="false"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <asp:HiddenField runat="server" ID="hdPassword" />
        </div>
    </fieldset>
</asp:Content>
